﻿// ReSharper disable InconsistentNaming
#pragma warning disable CS8981
namespace RestSharp.Tests.Serializers.Xml.SampleClasses;

public class Event : LastfmBase {
    public string id { get; set; }

    public string title { get; set; }

    public EventArtistList artists { get; set; }

    public Venue venue { get; set; }

    public DateTime startDate { get; set; }

    public string description { get; set; }

    public int attendance { get; set; }

    public int reviews { get; set; }

    public string tag { get; set; }

    public string url { get; set; }

    public string headliner { get; set; }

    public int cancelled { get; set; }
}

public class EventArtistList : List<artist> { }

public class artist {
    public string Value { get; set; }
}

public abstract class LastfmBase {
    public string status { get; set; }

    public Error error { get; set; }
}

public class Error {
    public string Value { get; set; }

    public int code { get; set; }
}